#!/bin/bash

if [ $1 = "cache" ]; then
grep cache /proc/cpuinfo | wc
elif [ $1 = "speed" ]; then
grep speed /proc/cpuinfo | wc
fi

